package com.polytech.dao;

import java.util.List;

import com.polytech.model.Membre;
import com.polytech.model.Post;
import com.polytech.model.Topic;

public interface PostDao {

	void insert(Post post,Membre membre ,Topic topic);
	Post select(int id);
	void update(Post post);
	void delete(Post post);
	void insert(Post post, String userName, int idTopic);
	List<Post> findAllTopicPosts(int idTopic);
}
